const Router = require('koa-router')
const app = new Router({ prefix: "/main/order" })
const { isslogin } = require('../../middleware/index')
const { getorder, seachorder, delorder } = require('../../controller/main/order')
app.get('/getorder', isslogin, getorder)
app.post('/seachorder', isslogin, seachorder)
app.post('/delorder', isslogin, delorder)
module.exports = app